package org.zfes.snowier.zbss.xzy.biz.config.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.zbss.xzy.biz.config.model.ConfigCate;
public interface IConfigCateService{

	 Optional<ConfigCate> loadAIConfigCateById(Long id);
	 
	 Optional<ConfigCate> loadCateByAlgorithmId(Long algorithmId);
	
	 void createAIConfigCate(ConfigCate aIConfigCate);
	
	 void updateAIConfigCate(ConfigCate aIConfigCate);

	 void deleteAIConfigCate(Long id);
	
	 DataSet loadAIConfigCateDataSet(Map<String, Object> params);
	 
	Optional<ConfigCate> loadByName(java.lang.String name);
	

 	void setAIConfigCateStatus(Long id, Byte status);

	List<ConfigCate> loadAIConfigCates(Byte status);
}